package com.icode.dao;

import com.icode.core.dto.about.FaqDTO;
import com.icode.core.model.about.*;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: song
 * Date: 15-12-9
 * Time: 下午4:25
 * To change this template use File | Settings | File Templates.
 */
public interface FaqDao extends EntityDao {

    //根据关键字模糊查找所有的问题列表
    List<Faq> findFaqs(String keywords);

    //删除指定的问题记录，里边调用了公共方法
    void deleteObject(Object obj);

    List<Faq> findAllByPage(String currentPage);
}
